package com.smart.buss.service.impl;

import com.smart.buss.dao.BussDakaMapper;
import com.smart.buss.service.BussDakaService;
import com.smart.buss.vo.BussDaka;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;

@Service
public class BussDakaServiceImpl implements BussDakaService {

	@Resource
	private BussDakaMapper bussDakaMapper;

	@Override
	public BussDaka queryObject(BussDaka entity) throws Exception {
		return bussDakaMapper.queryObject(entity);
	}

	@Override
	public List<BussDaka> queryList(BussDaka entity) throws Exception {
		return bussDakaMapper.queryList(entity);
	}

	@Override
	public List<BussDaka> queryListByPage(BussDaka entity) throws Exception {
		return bussDakaMapper.queryListByPage(entity);
	}

	@Override
	public Integer queryCount(BussDaka entity) throws Exception {
		return bussDakaMapper.queryCount(entity);
	}

	@Override
	public Integer insert(BussDaka entity) throws Exception {
		return bussDakaMapper.insert(entity);
	}

	@Override
	public Integer update(BussDaka entity) throws Exception {
		return bussDakaMapper.update(entity);
	}
	
	@Override
	public Integer updateLock(Object entity) throws Exception {
		return bussDakaMapper.updateLock(entity);
	}

	@Override
	public Integer delete(String id) throws Exception {
		return bussDakaMapper.delete(id);
	}
}
